@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    @apply text-gray-900 bg-white dark:text-gray-100 dark:bg-gray-900;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    @apply m-0 min-h-screen;
  }

  #app {
    @apply min-h-screen;
  }
}

@layer components {
  .btn {
    @apply px-4 py-2 text-sm font-medium rounded-md
           transition-colors duration-200
           focus:outline-none focus:ring-2 focus:ring-offset-2;
  }

  .btn-primary {
    @apply btn bg-primary-500 text-white hover:bg-primary-600
           focus:ring-primary-500;
  }

  .btn-outline {
    @apply btn border border-primary-500 text-primary-500
           hover:bg-primary-50 dark:hover:bg-primary-900
           focus:ring-primary-500;
  }

  .card {
    @apply bg-white dark:bg-gray-800 rounded-lg shadow-md p-6;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
} 
